package com.jrzh.security.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
/**
 * 自定义权限管理规则配置类
 * @author Xanthin
 *
 */
@ConfigurationProperties(prefix = "securityconfig")
public class SecuritySetting {

	//定义退出成功的链接
	private String logoutsuccessurl = "/logout";
	//定义允许访问的URL列表
	private String permitall = "/api";
	//设定拒绝访问的信息提示链接
	private String deniedpage = "/deny";
	//权限管理规则，链接地址与角色权限的配置列表
	private String urlroles;
	
	public String getLogoutsuccessurl() {
		return logoutsuccessurl;
	}
	public String getPermitall() {
		return permitall;
	}
	public String getDeniedpage() {
		return deniedpage;
	}
	public String getUrlroles() {
		return urlroles;
	}
	public void setLogoutsuccessurl(String logoutsuccessurl) {
		this.logoutsuccessurl = logoutsuccessurl;
	}
	public void setPermitall(String permitall) {
		this.permitall = permitall;
	}
	public void setDeniedpage(String deniedpage) {
		this.deniedpage = deniedpage;
	}
	public void setUrlroles(String urlroles) {
		this.urlroles = urlroles;
	}
}
